package cn.eu.mqtt.model.req;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class HeartbeatConfigReq {
    /**
     * 操作ID
     */
    private Integer operationId;
    /**
     * 时间戳
     */
    private String timestamp;
    /**
     * 心跳配置
     */
    private HeartbeatInfo heartbeatSet;

    @Getter
    @Setter
    public static class HeartbeatInfo {
        /**
         * 心跳间隔 <br/>
         * 单位：S；最大值。值：3600s， <br/>
         * 默认值：240s <br/>
         */
        private Integer interval;
    }
}
